import request from '@/utils/request'

// 获取列表
export function getList(data,page) {
    return request({
        url: '/Ims_receive_orders/purchase_receive_orders_list/'+(page?page:1),
        method: 'post',
        data: data
    })
}
// 列表分页
export function getPage(data) {
    return request({
        url: '/Ims_receive_orders/purchase_receive_orders_page',
        method: 'post',
        data: data
    })
}
// 获取门店仓库名称
export function getStoreHouse(data) {
    return request({
        url: '/General/get_house',
        method: 'post',
        data: data
    })
}
// 获取总部仓库名称
export function getComHouse(data) {
    return request({
        url: '/General/ims_get_company_house',
        method: 'post',
        data: data
    })
}